package com.ilab.entity;

import android.graphics.Color;

public class LineInfo implements java.io.Serializable{
	private static final long serialVersionUID = -4414620183952849336L;
	public static final Integer[] colors  = new Integer[]{Color.parseColor("#000000"),Color.parseColor("#FF0000"),Color.parseColor("#8B4513"),Color.parseColor("#FFA500")
		,Color.parseColor("#FFFF00"),Color.parseColor("#008000"),Color.parseColor("#00FFFF"),Color.parseColor("#0000FF"),Color.parseColor("#800080")};
	private String lineName = "";
	private String xAxis = "";
	private String yAxis = "";
	private String xUnit = "";
	private String yUnit = "";
	private int lineColor = -1;
	
	public LineInfo(){
	}
	
	public LineInfo(String lineName,String xAxis,String yAxis,String xUnit,String yUnit,int lineColor){
		this.lineName = lineName;
		this.xAxis = xAxis;
		this.yAxis = yAxis;
		this.xUnit = xUnit;
		this.yUnit = yUnit;
		this.lineColor = lineColor;
	}

	public String getxUnit() {
		return xUnit;
	}

	public void setxUnit(String xUnit) {
		this.xUnit = xUnit;
	}

	public String getyUnit() {
		return yUnit;
	}

	public void setyUnit(String yUnit) {
		this.yUnit = yUnit;
	}

	public int getLineColor() {
		return lineColor;
	}

	public void setLineColor(int lineColor) {
		this.lineColor = lineColor;
	}

	public String getLineName() {
		return lineName;
	}

	public void setLineName(String lineName) {
		this.lineName = lineName;
	}

	public String getxAxis() {
		return xAxis;
	}

	public void setxAxis(String xAxis) {
		this.xAxis = xAxis;
	}

	public String getyAxis() {
		return yAxis;
	}

	public void setyAxis(String yAxis) {
		this.yAxis = yAxis;
	}
	
}
